﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRayTracer
{
    class ObjLoader
    {
        public Vector3D GetVector(string line)
        {
            string[] vertices = line.Split(' ');

            Vector3D outVect = new Vector3D();
            outVect.x = double.Parse(vertices[0]);
            outVect.y = double.Parse(vertices[1]);
            outVect.z = double.Parse(vertices[2]);

            return outVect;
        }
    }
}
